#a. Line starts with '#' is comment
#b. Each line contains a match rule to ignore directory or file
#
#0. Ignore all hidden directories and files
#.+*

#1. Exclude directories by name (must ends with /)
#m4/
#po/
#test/
#vms/
#dist/
#build/
#.git/
#.svn/
#.hg/
#CVS/
#.deps/
#.libs/
#.icns/
#*.xcodeproj/
#*.xcworkspace/
#DerivedData/

#1a. Ignore directory name has prefix, must ends with /)
# prefix+*/

#1b. Ignore directory name has suffix, must ends with /)
# *+suffix/

#1c. Ignore directory name contains word, must ends with /)
# *+word+*/
# ...

#1d. Exclude directories by relative path (must starts with RP and ends with /)
#RP src/data/
#RP src/resource/
#...

#2. Exclude files by specified extension names (must starts with *.)
#*.o
#*.lo
#*.la
#*.so
#*.class
#*.gz
#*.tar
#*.zip
#*.7z
#*.iso
#*.jar
#...
# 

#2a. Exclude files by name (with or without extention)
# .DS_Store (already ignored by built in function)
#someFile
#someOtherFile

#2b. (ignore file name has prefix)
#prefix+*
# ignore all hidden files
#.+*

#2c. (ignore file name has suffix)
#*+suffix

#2d. (ignore file name contains word)
#*+word+*
#...

#2d. Exclude files by relative path (must starts with RP and must not ends with /)
#RP src/someFile
#RP src/someOtherFile
#...


